package wh.FishingPhilosopher.Components;

import wh.FishingPhilosopher.GameParams.GameMathAlgorithm;
import wh.GameEngine.GameObject;

public class StraightAutoMoveComponent implements AutoMoveComponent{
	public void autoMove(GameObject gameObject){
		gameObject.setCenterPosition(GameMathAlgorithm.calPositionAwayOfCenter(gameObject.getCenterPosition(), gameObject.getGameParams().bulletMovingSpeed, gameObject.getBitmapAngle()));
		
	}
}
